{% extends "base.html" %}
{% block title %}
    注册
{% endblock %}

{% block head %}
    <link rel="stylesheet" href="{{ url_for('static',filename='css/login-register.css') }}">
{% endblock %}

{% block main %}

    <h3 class="page-title">注册</h3>
    <div class="register-main">
        {% with errors=get_flashed_messages() %}
            {% for error in errors %}
                <li><span class="error">ERROR:{{ error }}</span></li>
            {% endfor %}

        {% endwith %}
        <form method="post" action="#">
            <div class="form-group">
                <input type="text" class="form-control" name="telephone" placeholder="手机号">
            </div>
            <div class="form-group">
                <input type="text" class="form-control" name="username" placeholder="用户名">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" name="password" placeholder="密码">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" name="password1" placeholder="确认密码">
            </div>
            <button type="submit" class="btn btn-primary btn-block">立即注册</button>
        </form>
    </div>


{% endblock %}